<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>

	<head>
	 	<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>估值表列表</title>
		<script type="text/javascript">
			var estimatePath = '<%=context%>' +'business/estimateInfo/';
			var path ='<%=context%>';
			//默认加载
			$(function(){
				//把访问路径传到js
				setPathPrefix(estimatePath);
				setPath(path);
			});
			var parameter = "${parameter}";
		</script>
	</head>
	
	<body class="fixed-nav">
		<div class="result-box">
		<!-- 估值材料下载  -->
		<div style="display: none;" id="estimateDataTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='estimateData' param=''></wasp:opera></div>
		<!-- 估值文件下载  -->
		<div style="display: none;" id="estimateFileTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='estimateFile' param=''></wasp:opera></div>
		<!-- 估值文件上传  -->
		<div style="display: none;" id="estimateFileUploadTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='estimateFileUploadNew' param=''></wasp:opera></div>
		<!-- 估值材料上传  -->
		<div style="display: none;" id="estimateDataUploadTemp"><wasp:opera fun='javascirpt:void(0);' type='2' id='estimateDataUploadNew' param=''></wasp:opera></div>
				<div class="clearfix form-multi-col-panel">
					<input type="hidden" id="esstimateType" value="${esstimateType}">
					<input type="hidden" id="esstimateName" value="${esstimateName}">
					<div class="form-item-group form-horizontal">
						<div class="form-item">
							<span class="form-field">产品名称</span>
							<span class="form-input hot-search">
								<input type="text" placeholder="产品名称" class="form-control" name="q-prjsname" id="q-prjsname" value="">
							</span>
						</div>
						<div class="form-item">
							<span class="form-field hot-search">产品代码</span>
							<span class="form-input">
								<input type="text" placeholder="产品代码" class="form-control" name="q-outerId" id="q-outerId" value="">
							</span>
						</div>
						<!-- <div class="form-item">
							<span class="form-field hot-search">所属部门</span>
							<span class="form-input">
								<select class="form-control" name="q-deptId" id="q-deptId" placeholder="所属部门"></select>
							</span>
						</div>
						<div class="form-item">
							<span class="form-field">项目经理</span>
							<span class="form-input">
								<select class="form-control" name="q-mgrId" id="q-mgrId" placeholder="项目经理"></select>
							</span>
						</div> -->
						<div class="form-item">
							<span class="form-field">估值日期</span>
							<span class="form-input">
								<input type="text" placeholder="估值日期" class="form-control" name="q-reportTime" id="q-reportTime" value="">
							</span>
						</div>
						<!-- <div class="form-item" id="investNoticeDiv">
							<span class="form-field">估值材料是否上传</span>
							<span class="form-input">
								<select class="form-control use-select2" name="q-isEstimateData" id="q-isEstimateData">
			                    	<option value=""></option>
			                    	<option value="0">否</option>
			                    	<option value="1">是</option>
			                    </select>
							</span>
						</div>
						<div class="form-item" id="investRegularNoticeDiv">
							<span class="form-field">估值文件是否上传</span>
							<span class="form-input">
								<select class="form-control use-select2" name="q-isEstimateFile" id="q-isEstimateFile">
			                    	<option value=""></option>
				                    <option value="0">否</option>
			                    	<option value="1">是</option>
			                    </select>
							</span>
						</div>
						<div class="form-item">
							<span class="form-field">估值材料上传日期</span>
							<span class="form-input">
								<input type="text" placeholder="估值材料上传日期" class="form-control" name="q-estimateDataTime" id="q-estimateDataTime" value="">
							</span>
						</div>
						<div class="form-item">
							<span class="form-field">估值文件上传日期</span>
							<span class="form-input">
								<input type="text" placeholder="估值文件上传日期" class="form-control" name="q-estimateFileTime" id="q-estimateFileTime" value="">
							</span>
						</div> -->
						<!-- <div class="form-item" >
							<span class="form-field">待办状态</span>
							<span class="form-input">
								<select class="form-control use-select2"  name="q-todoStatus" id="q-todoStatus">
			                    	<option value=""></option>
			                    	<option value="E">已完成</option>
			                    	<option value="R">材料需重新上传</option>
			                    	<option value="I">材料未上传</option>
			                    	<option value="S">材料已上传</option>
			                    	<option value="C">材料已确认</option>
			                    </select>
							</span>
						</div> -->
						
						<div class="form-item">
							<span class="form-field">材料上传日期</span>
							<span class="form-input">
								<input type="text" placeholder="材料上传日期" class="form-control" name="q-uploadTime" id="q-uploadTime" value="">
							</span>
						</div>
						<div class="form-item">
							<span class="form-field">产出上传日期</span>
							<span class="form-input">
								<input type="text" placeholder="产出上传日期" class="form-control" name="q-endTime" id="q-endTime" value="">
							</span>
						</div>
						
						 <div class="form-item"></div>  
				        <div class="form-item"></div>  
				        <div class="form-item"></div>  
				        <div class="form-item"></div>  
					</div>
					  <div class="form-item-group form-horizontal">
					  		<div class="form-item max">
					          <span class="form-field">待办状态</span>
					          <span class="form-input" style="width:55%">
					            <c:forEach var="dictDto" items="${dicList}">
					            	<i class="far fa-square todoStatus" value="${dictDto.dctValue }"></i>
					            	<label>${dictDto.dctName }</label>
					            </c:forEach>
					          </span>
					        </div>
					  	</div>
					<div class="form-action">
						<button class="btn btn-primary" type="submit"  id="queryBtn"  onclick="queryByCondtion(true)"><i class="fa fa-search"></i>&nbsp;查询</button>
						<button class="btn btn-outline btn-default" id="resetBtn" onclick = "clears()" type="reset">清空</button>
					</div>
				</div>
			<div class="form-search-group">
					<%-- <wasp:opera fun="ESTIMATE_INFO.estimateUpload('estimateData');" id="estimateDataUpload"></wasp:opera> --%>
					<wasp:opera fun="ESTIMATE_INFO.batchDownEstimate('ESTIMATE_DATA');" id="estimateDataDownload"></wasp:opera>
					<%-- <wasp:opera fun="ESTIMATE_INFO.estimateUpload('estimateFile');" id="estimateFileUpload"></wasp:opera> --%>
					<wasp:opera fun="ESTIMATE_INFO.batchDownEstimate('ESTIMATE_FILE');" id="estimateFileDownload"></wasp:opera>
				</div>
		
			<div class="jqGrid_wrapper fullscreen-wrapper">
				<table id="estimateList"></table>
				<div id="estimateListPage"></div>
			</div>
		</div>
		<script type="text/javascript" src="<%=context%>resources/modules/business/customerEquity/estimate/estimateList.js?r=<%=Math.random()%>"></script>
	</body>

</html>